package cn.krui.project.bean.system.sys_role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; 


@ApiModel(value = "sys_role", description = "系统角色实体类")
public class sys_role {
    @ApiModelProperty(value = "主键id")
    private  Integer id;
    @ApiModelProperty(value = "部门id")
    private  Integer dept_id;
    @ApiModelProperty(value = "角色名称")
    private  String role_name;
    @ApiModelProperty(value = "排序")
    private  Integer sort;
    @ApiModelProperty(value = "备注")
    private  String note;
    @ApiModelProperty(value = "菜单权限")
    private  String role_menu;
    @ApiModelProperty(value = "操作权限")
    private  String role_permissions;
    @ApiModelProperty(value = "状态")
    private  Integer status;
    @ApiModelProperty(value = "是否默认数据")
    private  Integer init_default ;
    @ApiModelProperty(value = "适用类型：通用=0 管理端=1 商户端=2")
	private Integer user_type;
    @ApiModelProperty(value = "用户组id")
	private Integer group_id;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDept_id() {
		return dept_id;
	}

	public void setDept_id(Integer dept_id) {
		this.dept_id = dept_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getRole_menu() {
		return role_menu==null?"":role_menu;
	}

	public void setRole_menu(String role_menu) {
		this.role_menu = role_menu;
	}

	public String getRole_permissions() {
		return role_permissions==null?"":role_permissions;
	}

	public void setRole_permissions(String role_permissions) {
		this.role_permissions = role_permissions;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getInit_default() {
		return init_default;
	}

	public void setInit_default(Integer init_default) {
		this.init_default = init_default;
	}

	public Integer getUser_type() {
		return user_type;
	}

	public void setUser_type(Integer user_type) {
		this.user_type = user_type;
	}

	public Integer getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Integer group_id) {
		this.group_id = group_id;
	}
	
}
